from __future__ import division
from jinja2.runtime import LoopContext, TemplateReference, Macro, Markup, TemplateRuntimeError, missing, concat, escape, markup_join, unicode_join, to_string, TemplateNotFound
name = '/themes/default/search.html'

def root(context, environment=environment):
    parent_template = None
    block_context = context._block()
    l_config = context.resolve('config')
    if 0: yield None
    parent_template = environment.get_template(('blog/themes/%s/base.html' % environment.getattr(l_config, 'theme')), '/themes/default/search.html')
    for name, parent_block in parent_template.blocks.iteritems():
        context.blocks.setdefault(name, []).append(parent_block)
    for event in parent_template.root_render_func(context):
        yield event

def block_body(context, environment=environment):
    if 0: yield None
    yield u'\n  <div id="cse-search-results"></div>\n  <script type="text/javascript">\n    var googleSearchIframeName = "cse-search-results";\n    var googleSearchFormName = "cse-search-box";\n    var googleSearchFrameWidth = 649;\n    var googleSearchDomain = "www.google.com";\n    var googleSearchPath = "/cse";\n  </script>\n  <script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>\n'

def block_title(context, environment=environment):
    l_config = context.resolve('config')
    if 0: yield None
    yield u'Search results - '
    yield escape(environment.getattr(l_config, 'blog_name'))

blocks = {'body': block_body, 'title': block_title}
debug_info = '1=10&3=16&2=20'